package com.turbo.cloud.contract.web.model.template;

import com.turbo.cloud.core.base.BaseModel;
import com.turbo.cloud.core.validated.SelectListValidated;
import com.turbo.cloud.core.validated.SelectMulWhereValidated;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * <p>
 * 合同模板表
 * </p>
 *
 * @author zhangluning
 * @since 2023-11-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Accessors(chain = true)
public class CtContractTemplateQo extends BaseModel {

    /**
     * 主键
     */
    @NotBlank(message = "合同模板ID不能为空", groups = {SelectListValidated.class})
    private String id;

    /**
     * 合同模板名称
     */
    private String contractTemplateNameByLike;

    /**
     * 合同模板编码
     */
    private String contractTemplateCodeByLike;
}
